package cn.wolfcode.cms.service;


import cn.wolfcode.cms.domain.Exchange;
import cn.wolfcode.cms.query.QueryObject;

import java.util.List;

//积分服务层
public interface IExchangeService {
    void save(Exchange entity);

    void update(Exchange entity);

    void delete(Long id);

    Exchange get(Long id);

    List<Exchange> list();

    //通过参数查询分页数据
    Object query(QueryObject qo);

    void updataBalance(Long mid, Integer balance);
}
